#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "mainui.h"
#include <QSqlDatabase>
#include <QSqlError>
#include <QSqlQuery>
#include <QCryptographicHash>
#include "diffie_hellman.h"
#include "aes_gcm.h"
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void createtable();
private slots:
    void on_pushButton_clicked();
    QString MD5encryption(QString s);
    void on_pushButton_2_clicked();

private:
    Ui::MainWindow *ui;
    mainui *mainui_1;
};

#endif // MAINWINDOW_H
